package com.system.healthproject.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 添加诊疗活动参数
 */
@ApiModel("添加诊疗活动参数")
public class ParamAddConsulting {
    private Integer id;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(name = "dateTime",notes = "诊疗活动时间")
    private Date dateTime;//诊疗时间
   @ApiModelProperty(name = "address",notes = "诊疗活动地点")
    private Integer address;//诊疗地点
   @ApiModelProperty(name = "number",notes = "诊疗活动人数")
    private Integer number;//诊疗人数
    @ApiModelProperty(name = "patientId",notes = "诊疗患者ID")
    private List<Integer> patientId;//患者ID



    public Integer getAddress() {
        return address;
    }

    public void setAddress(Integer address) {
        this.address = address;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public List<Integer> getPatientId() {
        return patientId;
    }

    public void setPatientId(List<Integer> patientId) {
        this.patientId = patientId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    @Override
    public String toString() {
        return "ParamAddConsulting{" +
                "id=" + id +
                ", dateTime=" + dateTime +
                ", address=" + address +
                ", number=" + number +
                ", patientId=" + patientId +
                '}';
    }
}
